

import base64

a=b''
with open("flag.txt","rb") as f:
    a=f.read()

while 1:
    a=base64.b64decode(a)
    if b"flag" in a:
        print(a)
        break